package com.charlie.meetingmanagement.mapper;

import com.charlie.meetingmanagement.pojo.po.Meeting;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MeetingMapper {

    List<Meeting> meetingInfo();

    Long count(Integer meetingroomId, Integer meetingroomSize, String meetingroomHeadname);

    List<Meeting> page(Integer meetingroomId, Integer meetingroomSize, String meetingroomHeadname);

    void insertMeeting(Meeting meeting);

    void delete(Integer meetingroomId);

    void update(Meeting meeting);
}
